package com.bml.architect.alibaba.web;

import com.bml.architect.alibaba.vo.OrderInfo;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/order")
public class OrderController {


    @RequestMapping("/get")
    @ResponseBody
    public OrderInfo get(){
        OrderInfo info = new OrderInfo();
        info.setOrderId(1001);
        info.setOrderName("手机支付订单");
        info.setPrice(5689.34);
        return info;
    }



}
